\hypertarget{nxbot_8h}{
\section{include/nxbot.h File Reference}
\label{nxbot_8h}\index{include/nxbot.h@{include/nxbot.h}}
}
{\ttfamily \#include $<$avr/interrupt.h$>$}\par
{\ttfamily \#include \char`\"{}commKTask.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}motorsTask.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}sensorsTask.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}PIControlTask.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}soundTask.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}commK.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}motors.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}sensors.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}sound.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}uart.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}structures.h\char`\"{}}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{nxbot_8h_ad22508714a697b80b8bc3277cd2232f4}{NXBOT\_\-ENCODER\_\-RES}~(575.959/1000000.0)
\item 
\#define \hyperlink{nxbot_8h_a218be1eefd348f88ce93efc7ea8deb1b}{NXBOT\_\-WHEEL\_\-DISTANCE}~0.15
\item 
\#define \hyperlink{nxbot_8h_ac4ae6a5ec53e757f33f7dec918ed71bc}{MOTOR\_\-INTERVAL\_\-HZ}~40
\item 
\#define \hyperlink{nxbot_8h_ada69192b77a97d88874d395f327e7b66}{COMM\_\-INTERVAL\_\-HZ}~300
\item 
\#define \hyperlink{nxbot_8h_a1ae88109a7d5fa778cf632b5512f3399}{SENSOR\_\-INTERVAL\_\-HZ}~150
\item 
\#define \hyperlink{nxbot_8h_ac2b245d3be4ea2836b8b65056dd796da}{MOTOR\_\-INTERVAL}~F\_\-RTOS/MOTOR\_\-INTERVAL\_\-HZ
\item 
\#define \hyperlink{nxbot_8h_aa15348375ae69b81224466cc6365cf85}{COMM\_\-INTERVAL}~F\_\-RTOS/COMM\_\-INTERVAL\_\-HZ
\item 
\#define \hyperlink{nxbot_8h_a71a7a65f7dd7e8f3ea14942213cd8217}{SENSOR\_\-INTERVAL}~F\_\-RTOS/SENSOR\_\-INTERVAL\_\-HZ
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{nxbot_8h_a7197d81d7600fb7125f871d540337888}{nxbot\_\-init} (void)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structJingle}{Jingle} \hyperlink{nxbot_8h_af8d2423a4ffcd1902794119e612f616f}{J\_\-CONN}
\item 
\hyperlink{structJingle}{Jingle} \hyperlink{nxbot_8h_af8f035ee34574f613555a8f4401b1f63}{J\_\-DISCONN}
\item 
\hyperlink{structJingle}{Jingle} \hyperlink{nxbot_8h_aece8b254a9cff03462c85068a616a29b}{J\_\-BATT}
\end{DoxyCompactItemize}


\subsection{Define Documentation}
\hypertarget{nxbot_8h_aa15348375ae69b81224466cc6365cf85}{
\index{nxbot.h@{nxbot.h}!COMM\_\-INTERVAL@{COMM\_\-INTERVAL}}
\index{COMM\_\-INTERVAL@{COMM\_\-INTERVAL}!nxbot.h@{nxbot.h}}
\subsubsection[{COMM\_\-INTERVAL}]{\setlength{\rightskip}{0pt plus 5cm}\#define COMM\_\-INTERVAL~F\_\-RTOS/COMM\_\-INTERVAL\_\-HZ}}
\label{nxbot_8h_aa15348375ae69b81224466cc6365cf85}
\hypertarget{nxbot_8h_ada69192b77a97d88874d395f327e7b66}{
\index{nxbot.h@{nxbot.h}!COMM\_\-INTERVAL\_\-HZ@{COMM\_\-INTERVAL\_\-HZ}}
\index{COMM\_\-INTERVAL\_\-HZ@{COMM\_\-INTERVAL\_\-HZ}!nxbot.h@{nxbot.h}}
\subsubsection[{COMM\_\-INTERVAL\_\-HZ}]{\setlength{\rightskip}{0pt plus 5cm}\#define COMM\_\-INTERVAL\_\-HZ~300}}
\label{nxbot_8h_ada69192b77a97d88874d395f327e7b66}
\hypertarget{nxbot_8h_ac2b245d3be4ea2836b8b65056dd796da}{
\index{nxbot.h@{nxbot.h}!MOTOR\_\-INTERVAL@{MOTOR\_\-INTERVAL}}
\index{MOTOR\_\-INTERVAL@{MOTOR\_\-INTERVAL}!nxbot.h@{nxbot.h}}
\subsubsection[{MOTOR\_\-INTERVAL}]{\setlength{\rightskip}{0pt plus 5cm}\#define MOTOR\_\-INTERVAL~F\_\-RTOS/MOTOR\_\-INTERVAL\_\-HZ}}
\label{nxbot_8h_ac2b245d3be4ea2836b8b65056dd796da}
\hypertarget{nxbot_8h_ac4ae6a5ec53e757f33f7dec918ed71bc}{
\index{nxbot.h@{nxbot.h}!MOTOR\_\-INTERVAL\_\-HZ@{MOTOR\_\-INTERVAL\_\-HZ}}
\index{MOTOR\_\-INTERVAL\_\-HZ@{MOTOR\_\-INTERVAL\_\-HZ}!nxbot.h@{nxbot.h}}
\subsubsection[{MOTOR\_\-INTERVAL\_\-HZ}]{\setlength{\rightskip}{0pt plus 5cm}\#define MOTOR\_\-INTERVAL\_\-HZ~40}}
\label{nxbot_8h_ac4ae6a5ec53e757f33f7dec918ed71bc}
\hypertarget{nxbot_8h_ad22508714a697b80b8bc3277cd2232f4}{
\index{nxbot.h@{nxbot.h}!NXBOT\_\-ENCODER\_\-RES@{NXBOT\_\-ENCODER\_\-RES}}
\index{NXBOT\_\-ENCODER\_\-RES@{NXBOT\_\-ENCODER\_\-RES}!nxbot.h@{nxbot.h}}
\subsubsection[{NXBOT\_\-ENCODER\_\-RES}]{\setlength{\rightskip}{0pt plus 5cm}\#define NXBOT\_\-ENCODER\_\-RES~(575.959/1000000.0)}}
\label{nxbot_8h_ad22508714a697b80b8bc3277cd2232f4}
\hypertarget{nxbot_8h_a218be1eefd348f88ce93efc7ea8deb1b}{
\index{nxbot.h@{nxbot.h}!NXBOT\_\-WHEEL\_\-DISTANCE@{NXBOT\_\-WHEEL\_\-DISTANCE}}
\index{NXBOT\_\-WHEEL\_\-DISTANCE@{NXBOT\_\-WHEEL\_\-DISTANCE}!nxbot.h@{nxbot.h}}
\subsubsection[{NXBOT\_\-WHEEL\_\-DISTANCE}]{\setlength{\rightskip}{0pt plus 5cm}\#define NXBOT\_\-WHEEL\_\-DISTANCE~0.15}}
\label{nxbot_8h_a218be1eefd348f88ce93efc7ea8deb1b}
\hypertarget{nxbot_8h_a71a7a65f7dd7e8f3ea14942213cd8217}{
\index{nxbot.h@{nxbot.h}!SENSOR\_\-INTERVAL@{SENSOR\_\-INTERVAL}}
\index{SENSOR\_\-INTERVAL@{SENSOR\_\-INTERVAL}!nxbot.h@{nxbot.h}}
\subsubsection[{SENSOR\_\-INTERVAL}]{\setlength{\rightskip}{0pt plus 5cm}\#define SENSOR\_\-INTERVAL~F\_\-RTOS/SENSOR\_\-INTERVAL\_\-HZ}}
\label{nxbot_8h_a71a7a65f7dd7e8f3ea14942213cd8217}
\hypertarget{nxbot_8h_a1ae88109a7d5fa778cf632b5512f3399}{
\index{nxbot.h@{nxbot.h}!SENSOR\_\-INTERVAL\_\-HZ@{SENSOR\_\-INTERVAL\_\-HZ}}
\index{SENSOR\_\-INTERVAL\_\-HZ@{SENSOR\_\-INTERVAL\_\-HZ}!nxbot.h@{nxbot.h}}
\subsubsection[{SENSOR\_\-INTERVAL\_\-HZ}]{\setlength{\rightskip}{0pt plus 5cm}\#define SENSOR\_\-INTERVAL\_\-HZ~150}}
\label{nxbot_8h_a1ae88109a7d5fa778cf632b5512f3399}


\subsection{Function Documentation}
\hypertarget{nxbot_8h_a7197d81d7600fb7125f871d540337888}{
\index{nxbot.h@{nxbot.h}!nxbot\_\-init@{nxbot\_\-init}}
\index{nxbot\_\-init@{nxbot\_\-init}!nxbot.h@{nxbot.h}}
\subsubsection[{nxbot\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void nxbot\_\-init (void)}}
\label{nxbot_8h_a7197d81d7600fb7125f871d540337888}


\subsection{Variable Documentation}
\hypertarget{nxbot_8h_aece8b254a9cff03462c85068a616a29b}{
\index{nxbot.h@{nxbot.h}!J\_\-BATT@{J\_\-BATT}}
\index{J\_\-BATT@{J\_\-BATT}!nxbot.h@{nxbot.h}}
\subsubsection[{J\_\-BATT}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Jingle} {\bf J\_\-BATT}}}
\label{nxbot_8h_aece8b254a9cff03462c85068a616a29b}
\hypertarget{nxbot_8h_af8d2423a4ffcd1902794119e612f616f}{
\index{nxbot.h@{nxbot.h}!J\_\-CONN@{J\_\-CONN}}
\index{J\_\-CONN@{J\_\-CONN}!nxbot.h@{nxbot.h}}
\subsubsection[{J\_\-CONN}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Jingle} {\bf J\_\-CONN}}}
\label{nxbot_8h_af8d2423a4ffcd1902794119e612f616f}
\hypertarget{nxbot_8h_af8f035ee34574f613555a8f4401b1f63}{
\index{nxbot.h@{nxbot.h}!J\_\-DISCONN@{J\_\-DISCONN}}
\index{J\_\-DISCONN@{J\_\-DISCONN}!nxbot.h@{nxbot.h}}
\subsubsection[{J\_\-DISCONN}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Jingle} {\bf J\_\-DISCONN}}}
\label{nxbot_8h_af8f035ee34574f613555a8f4401b1f63}
